package com.kexin.service;

import com.kexin.mappers.data1.Test1Mapper;
import com.kexin.mappers.data2.Test2Mapper;
import com.kexin.pojo.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TestService {
    @Autowired
    private Test1Mapper test1Mapper;
    @Autowired
    private Test2Mapper test2Mapper;

    public List<Test> selectAll11() {
        return test1Mapper.selectAll1();

    }
    public List<Test> selectAll12() {
        return test2Mapper.selectAll();

    }
}
